package main

import (
	"baiscGram/address"
	"baiscGram/jdatatype"
	"baiscGram/jinf"
	"baiscGram/jio"
	"fmt"
)

func main() {

	//jio.IoCopyUse()

	//TestJInf()

	//TestJDatatype()
	TestAddress()

}

func TestAddress() {
	address.Test()
}

func TestJIo() {
	jio.IoCopyUse()
}

func TestJDatatype() {
	jdatatype.DifDataType()
}

func TestJInf() {
	// 声明并赋值
	name := jinf.MyString("hello i am json !")
	// 声明并声明类型
	var v jinf.VowelsFinder
	v = name
	fmt.Printf(" v.FindVowels() rel is : %c \n", v.FindVowels())

	var v2 jinf.VowelsFinder = jinf.MyString("hello i am json ,who u are !")
	fmt.Printf(" v.FindVowels() rel is : %c", v2.FindVowels())
}
